								<div class="sanpham">
									<table width="100%" align="center">
									<?php
											$numRows = ceil(count($products) / 4);
											$i = 0;
											for ($rows = 0; $rows < $numRows; $rows++) {
									?>
										<tbody>
											<tr>
												<?php
													for ($cols = 0; $cols < 4; $cols++) {
														if (isset($products[$i])) {
												?>
												<td align="center">
													<?php
														$img = (empty($products['Product']['img'])? "no.jpg" : $products['Product']['img'] );
														echo $html->link(
															$html->image(
																IMG_URL .'products/{$img}',
																array(
																	'alt'		=> $products[$i]['Product']['name'],
																	'class'		=> 'productImg',
																	'width'		=> '110px',
																	'height'    => '80px'
																)
															),
															IMG_URL .'products/'.  $products[$i]['Product']['img'],
															array(
																'title'			=> $products[$i]['Product']['name'],
																'rel'			=> 'nofollow',
																'escape'		=> false,
																'class'			=> 'preview'
															)
														);

													?>
													<?php
														echo $html->link(
															$html->image(
																IMG_URL .'products/'.  $products[$i]['Product']['img'],
																array(
																	'alt'		=> $products[$i]['Product']['name'],
																	'class'		=> 'productImg',
																	'width'		=> '110px;'
																)
															),
															IMG_URL .'products/'.  $products[$i]['Product']['img'],
															array(
																'title'			=> $products[$i]['Product']['name'],
																'rel'			=> 'nofollow',
																'escape'		=> false,
																'class'			=> 'preview'
															)
														);
													?>
													<span class="price"><?php echo $prodycts[$i]['Product']['price']; ?></span>
													<div id="mua">
														<a href="#"><?php echo __('Đặt hàng', true);?></a>
													</div>
												</td>
												<?php
													$i++;
													}
															}
													?>
												</tr>
												<?php
												}
												?>
										</tbody>
									</table>
								</div>
